<?php
namespace Home\Model;
use Think\Model;

class NewsModel extends Model
{
	//搜索新闻详情并返回
	public function news_show()
	{
		$id = I('get.id');
		$map['id'] = ['eq',$id];
		return $this->where($map)->find();
	}
}